home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 6
/
Amiga Format AFCD06 (Nov 1996, Issue 90).iso
/
screenplay
/
utility
/
game_patches_for_hd
/
marblemadness
/
contrib
/
wbstart2_1.readme
< prev
next >
Wrap
Text File
|
1996-06-10
|
1KB
|
32 lines
Short: Emulate program starting from WB (V2.1)
Author: stefanb@yello.ping.de (Stefan Becker)
Uploader: stefanb@yello.ping.de (Stefan Becker)
Version: 2.1
Type: util/libs
Replaces: util/libs/WBStart.lha
Requires: OS 3.0 (V39) or better
Kurz: Emuliere Programmstart von der WB (V2.1)
WBStart is a package to emulate the Workbenchs' method of starting
programs. Emulating this method seems to be easy on the first look,
because you only have to load a program, create a process and then send a
Workbench startup message to it.
But complications arise from this startup message. It contains pointers
to memory and directory locks owned by your process and it will not be
returned until the newly created Workbench process exits. So your process
can't quit until ALL Workbench processes which have been started by your
process are finished. If you don't wait the replied messages will go into
nowhere land and the man from India will visit you.
WBStart solves this problem by using a handler process, which loads the
program, creates the process, sends the message and then waits for the
reply. You just supply all needed information like program name and
arguments in a library call. The handler copies this information so your
program can free its resources and exit.
Changes since WBStart 2.0:
- Now handles file names correctly which contain a path part that
points to a multiple assign.